package com.fan.mapper;

import com.fan.entity.DemoEntity;
import com.fan.vo.DemoVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DemoMapper {

    int save(DemoEntity demoEntity);
    int deleteById(int id);
    int update(DemoEntity demoEntity);
    DemoEntity selectById(int id);
    List<DemoEntity> selectPage();


    DemoVO getDemoVOResultMapById(int id);
    DemoVO getDemoVOById(int id);
}
